<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:""
			}
		},
		onLoad(option) {
			console.log(option)
			if(option.type ==='1'){ // 用户协议
				this.url="https://www.wytldy.com/yhxy.html"
			}else{ //用户隐私协议
				this.url="https://www.wytldy.com/ysxy.html"
			}
		}
	}
</script>

<style>

</style>
